<?php
/**
 * Created by PhpStorm.
 * User: lzy
 * Date: 2018/11/8
 * Time: 15:46
 */
namespace App\Weixin\Contracts;

interface WithdrawInterface{

    /**
     * 后台使用获取列表数据
     * @param $where
     * @return mixed
     */
    public function getList($where);


    /**
     * 更新数据
     * @param $where
     * @param $data
     * @return mixed
     */
    public function updateData($where,$data);

    /**
     * 添加数据=--提现操作
     * @param $data
     * @return mixed
     */
    public function addWithdrawLog($data);


    /**
     * 退款操作
     */
    public function balckUserData($where,$data);


    /**
     * 获取提现详细
     * @param $where
     * @return mixed
     */
    public function getInfo($where);

    /**
     * 获取提现手续费
     * @param $amount
     * @return mixed
     */
    public function getPoundage($amount);

}